package ua.kiev.tosik.price.database.dao;

import ua.kiev.tosik.price.database.RowSort;
import ua.kiev.tosik.price.models.Clients;
import ua.kiev.tosik.price.models.Prices;

import java.sql.Connection;
import java.util.Date;
import java.util.List;

public class PricesDaoPgsql implements IPricesDao {

	private int limiter = 300;
	private int offset = 0;

	@Override
	public int countAll() {
		return 0;
	}

	@Override
	public Prices findById(int id) {
		return null;
	}

	@Override
	public List<Prices> findByDate(Date priceDate) {
		return null;
	}

	@Override
	public List<Prices> findByClientsId(Clients client) {
		return null;
	}

	@Override
	public List<Prices> findByNameAndArticle(String searchString) {
		return null;
	}

	@Override
	public Prices save(Prices prices) throws Exception {
		return null;
	}

	@Override
	public Connection getConn() {
		return null;
	}

	@Override
	public void deleteByPricesFilesId(int id) throws Exception {

	}

	@Override
	public List<Prices> findAll() {
		return null;
	}

	@Override
	public int getOffset() {
		return offset;
	}
	@Override
	public void setOffset(int offset) {
		if ( offset < 0 ) { offset = 0; }
		this.offset = offset;
	}
	@Override
	public int getLimiter() {
		return limiter;
	}
	@Override
	public void setLimiter(int limiter) {
		this.limiter = limiter;
	}

	@Override
	public int getRecordCount() {
		return 0;
	}

	@Override
	public List<Prices> findByAny(Prices prices) {
		return null;
	}

	@Override
	public void saveBatch(String fileName) throws Exception {

	}

	@Override
	public void setRowSorter(RowSort rowSort) {
		
	}
}
